package com.summer.campussct.service;

import com.summer.campussct.pojo.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.campussct.pojo.dto.RestResult;

/**
 * <p>
 * 权限表（菜单表） 服务类
 * </p>
 *
 * @author Mr.Chen
 * @since 2024-05-12
 */
public interface IPermissionService extends IService<Permission> {

    RestResult getList();

    RestResult addPermission(Permission permission);

    RestResult modifyPermission(Permission permission);

    RestResult getDetails(long id);

    RestResult deleteDetails(long id);
}
